﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Defaut.aspx.cs" Inherits="ControleFinanceiro.WebForm1" %>

<%@ Register src="wucIdentificador.ascx" tagname="wucIdentificador" tagprefix="uc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #form1
        {
            width: 535px;
            height: 457px;
        }
        .auto-style1
        {
            width: 100%;
        }
        .auto-style5
        {
            height: 60px;
            width:525px;
            text-align: center;
            color: #FFFFFF;
            background-color: #663300;
        }
        #Text5
        {
            color: #000099;
        }
        #Text6
        {
            color: #0000FF;
        }
        .auto-style6
        {
            width: 393px;
        }
        .auto-style7
        {
            width: 214px;
        }
        .auto-style8
        {
            width: 214px;
            height: 48px;
        }
        .auto-style9
        {
            width: 393px;
            height: 48px;
        }
        #wuc
        {
            width: 536px;
        }
        .auto-style10
        {
            width: 152px;
        }
    </style>
</head>
<body style="height: 417px">

<div id="conteudo">
    <form id="form1" runat="server">
    <div id="wuc" style="width:531px">



        <uc1:wucIdentificador ID="wucIdentificador1" runat="server" style="width:525px" />



    </div>
    <div style="width: 535px; height: 341px; background-color: #999966">
    
        <table  class="auto-style1">
            <tr>
                <td class="auto-style5" colspan="3"><strong>SIMULAR FINANCIAMENTO</strong></td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;&nbsp;&nbsp; Valor de Financiamento</td>
                <td class="auto-style6" colspan="2">
                   <asp:TEXTBOX ID="txtFinanciamento" runat="server" ValidateRequestMode="Disabled"></asp:TEXTBOX>
                 </td>
             </tr>
            <tr>
                <td class="auto-style8">&nbsp;&nbsp; Quantidade de Parcelas</td>
                <td class="auto-style9" colspan="2">
                    <asp:TEXTBOX ID="txtParcelas" runat="server" ValidateRequestMode="Disabled"></asp:TEXTBOX>
            </td></tr>
            <tr>
                <td class="auto-style7">&nbsp;&nbsp; Taxa de Risco</td>
                <td class="auto-style6" colspan="2">
                    <asp:TEXTBOX ID="txtTaxa" runat="server" ValidateRequestMode="Disabled"></asp:TEXTBOX>
            </td></tr>
            <tr>
                <td class="auto-style7">&nbsp;&nbsp; Modelo de Financiamento</td>
                <td class="auto-style6" colspan="2">
                    <asp:DropDownList ID="cbModelo" runat="server" OnSelectedIndexChanged="cbModelo_SelectedIndexChanged" AutoPostBack="true" >
                        <asp:ListItem>Nenhum</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCriar" runat="server" Font-Size="Small" Height="27px" Text="Calcular Financiamento" Width="177px" OnClick="btnCriar_Click" />
                </td>
                <td class="auto-style10">
                    <asp:CheckBox ID="chkDesconto" runat="server" ForeColor="White" Text="Desconto" />
                </td>
                <td class="auto-style6">
                    <asp:Label ID="lblPermitido" runat="server" ForeColor="#CC0000" Text="Usuário não permitido!" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;&nbsp; Valor da Parcela</td>
                <td class="auto-style6" colspan="2">
                     <asp:TEXTBOX ID="txtValorParcela" runat="server" ValidateRequestMode="Disabled"></asp:TEXTBOX>
                </td>
               </tr>
            <tr>
                <td class="auto-style7">&nbsp;&nbsp; Valor do Financiamento</td>
                <td class="auto-style6" colspan="2">
                     <asp:TEXTBOX ID="txtValorFinal" runat="server" ValidateRequestMode="Disabled"></asp:TEXTBOX>
                </td>
            </tr>
            <tr>
              <td colspan="3">
                <asp:TEXTBOX ID="txtMensagem" runat="server" ValidateRequestMode="Disabled" BorderStyle="None" EnableTheming="False" EnableViewState="False" Font-Bold="False" Font-Names="Arial" Font-Size="Small" ForeColor="Red" Height="16px" ReadOnly="True" style="margin-top: 0px; background-color: #999966" Visible="False" Width="522px">Valor de Financiamento, Quantidade de Parcelas, Taxa de Risco são Obrigatórios:</asp:TEXTBOX>
               </td>
          </tr>
        </table>
    
    </div>
    </form>
</div>
</body>
</html>
